package com.qujia.station.domain;

import com.qujia.station.domain.dto.MemberNumDto;
import com.qujia.station.domain.dto.OilSaleNumDto;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Auther: LogicQin
 * @Date: 2023/4/27 10:21
 * @Description:
 */
public class HomeContext {
    //实收金额
    private String ssAmt;
    //加油总量
    private String totalRefuelingAmt;
    //加油金额
    private String refuelingAmt;
    //笔数
    private Integer orderAmt;
    // 各支付方式占比数据
    private List<Map<String, Object>> payTypePercentage;
    // 封装七天数据
    private List<Map<String, Object>> series;

    public BigDecimal getRechargeAndPayAmt() {
        return rechargeAndPayAmt;
    }

    public void setRechargeAndPayAmt(BigDecimal rechargeAndPayAmt) {
        this.rechargeAndPayAmt = rechargeAndPayAmt;
    }

    public BigDecimal getRechargeAmt() {
        return rechargeAmt;
    }

    public void setRechargeAmt(BigDecimal rechargeAmt) {
        this.rechargeAmt = rechargeAmt;
    }

    /**到账实收合计金额 */
    @ApiModelProperty("营业总额")
    private BigDecimal rechargeAndPayAmt;
    /** 充值实收合计金额 */
    @ApiModelProperty("充值实收合计金额")
    private BigDecimal rechargeAmt;

    //优惠总金额 PayOrder类discountAmt，discountCouponAmt字段相加
    private String totalDiscountAmt;

    @ApiModelProperty(value = "油品销售数量")
    private List<OilSaleNumDto> oilSaleNumList;

    @ApiModelProperty(value = "会员数量")
    private MemberNumDto memberNum;

    public HomeContext() {
        // 空构造方法
    }

    public HomeContext(String ssAmt, String totalRefuelingAmt, String refuelingAmt, Integer orderAmt, List<Map<String, Object>> payTypePercentage,List<Map<String, Object>> series,List<OilSaleNumDto> oilSaleNumList, MemberNumDto memberNum) {
        this.ssAmt = ssAmt;
        this.totalRefuelingAmt = totalRefuelingAmt;
        this.refuelingAmt = refuelingAmt;
        this.orderAmt = orderAmt;
        this.payTypePercentage = payTypePercentage;
        this.series = series;
        this.oilSaleNumList = oilSaleNumList;
        this.memberNum = memberNum;
    }



    public String getSsAmt() {
        return ssAmt;
    }

    public void setSsAmt(String ssAmt) {
        this.ssAmt = ssAmt;
    }

    public String getTotalRefuelingAmt() {
        return totalRefuelingAmt;
    }

    public void setTotalRefuelingAmt(String totalRefuelingAmt) {
        this.totalRefuelingAmt = totalRefuelingAmt;
    }

    public String getRefuelingAmt() {
        return refuelingAmt;
    }

    public void setRefuelingAmt(String refuelingAmt) {
        this.refuelingAmt = refuelingAmt;
    }

    public Integer getOrderAmt() {
        return orderAmt;
    }

    public void setOrderAmt(Integer orderAmt) {
        this.orderAmt = orderAmt;
    }

    public List<Map<String, Object>> getPayTypePercentage() {
        return payTypePercentage;
    }

    public void setPayTypePercentage(List<Map<String, Object>> payTypePercentage) {
        this.payTypePercentage = payTypePercentage;
    }

    public List<Map<String, Object>> getSeries() {
        return series;
    }

    public void setSeries(List<Map<String, Object>> series) {
        this.series = series;
    }

    public String getTotalDiscountAmt() {
        return totalDiscountAmt;
    }

    public void setTotalDiscountAmt(String totalDiscountAmt) {
        this.totalDiscountAmt = totalDiscountAmt;
    }

    public List<OilSaleNumDto> getOilSaleNumList() {
        return oilSaleNumList;
    }

    public void setOilSaleNumList(List<OilSaleNumDto> oilSaleNumList) {
        this.oilSaleNumList = oilSaleNumList;
    }

    public MemberNumDto getMemberNum() {
        return memberNum;
    }

    public void setMemberNum(MemberNumDto memberNum) {
        this.memberNum = memberNum;
    }
}







